package com.yl.auth.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ln
 * @since 2023-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Renyuan implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 员工id
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 头像路径
     */
    private String imgurl;

    /**
     * 员工姓名
     */
    private String name;

    /**
     * 联系方式
     */
    private String phone;

    /**
     * 身份证号
     */
    private String idcard;

    /**
     * 部门id
     */
    @TableField("departmentId")
    private Long departmentid;

    /**
     * 岗位id
     */
    @TableField("jobId")
    private Long jobid;

    /**
     * 账号
     */
    private String account;

    /**
     * 密码
     */
    private String password;

    /**
     * 创建者
     */
    private Long creatorId;


}
